-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow launching with pkexec #951
Conversation
Ideally, we shouldn't even allow this and provide a |
@tintou for sure, but there's been an open issue report for that in both Code and Files for like years now so this is at least a little better than users trashing their home directory permissions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This successfully preccents use of sudo
and allows use of pkexec
from the commandline.
Code does not currently give an indication when it runs as root and there is no "New Window as Administrator" option as yet but these could be further PRs.
One minor code issue.
Uh, is it expected that this commit does not build yet? |
Since this PR was merged, my code builds fail with this error:
|
And disallow launching with sudo so you don't get messed up permissions in your home
Fixes #202
Fixes #932